package service;
import	java.util.List;

import com.github.pagehelper.PageInfo;
import entity.LayRequest;
import entity.Role;

import java.util.List;

/**
 * @Author Administrator
 * @create 2020.06.18 上午 8:53
 */
public interface RoleService {
    List<Role> selectAll();

    PageInfo<Role> selectByMap(LayRequest layRequest);

    boolean insert(Role role);

    Role selectById(Integer id);

    boolean update(Role role);

    boolean delete(Integer id);

    Role selectRoleAndPer(Integer id);
}
